package com.example.user.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Project:ms-user-autoconfigure
 * <p>
 * Title:MsUserProperties.java
 * <p>
 * Description:
 * <p>
 * Copyrigth:Jiang Software LTD.co Copyright (c) 2022
 * <p>
 * 
 * @version 1.0
 * @since 1.8
 * @author jiang
 * @history 2022 jiang create
 */
@Configuration
@ConfigurationProperties(prefix = "com.example.ms-user")
public class UserProperties {
    /**
     * 微服务ms-user的url
     */
    private String url = "127.0.0.1:8081";

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}